package com.example.design.ordermanagement.command.invoker;

import com.example.design.ordermanagement.command.OrderCommandInterface;
import com.example.design.pojo.Order;

//命令模式调用者角色
public class OrderCommandInvoker {

    public void invoke(OrderCommandInterface command, Order order){
        command.execute(order);
    }
}
